home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppwwwwllllccccuuuurrrrvvvveeee((((3333GGGG)))) ppppwwwwllllccccuuuurrrrvvvveeee((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ppppwwwwllllccccuuuurrrrvvvveeee - describes a piecewise linear trimming curve for NURBS surfaces
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- vvvvooooiiiidddd ppppwwwwllllccccuuuurrrrvvvveeee((((nnnn,,,, ddddaaaattttaaaa____aaaarrrrrrrraaaayyyy,,,, bbbbyyyytttteeee____ssssiiiizzzzeeee,,,, ttttyyyyppppeeee))))
- lllloooonnnngggg nnnn,,,, bbbbyyyytttteeee____ssssiiiizzzzeeee,,,, ttttyyyyppppeeee;;;;
- ddddoooouuuubbbblllleeee ****ddddaaaattttaaaa____aaaarrrrrrrraaaayyyy;;;;
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _n expects the number of points on the curve
-
- _d_a_t_a__a_r_r_a_y expects an array containing the curve points
-
- _b_y_t_e__s_i_z_e expects the offset (in bytes) between points on the curve
-
- _t_y_p_e expects a value indicating the point type. Currently, the
- only data type supported is N_ST, corresponding to pairs of
- s-t coordinates. The offset parameter is used in case the
- curve points are part of an array of larger structure
- elements. ppppwwwwllllccccuuuurrrrvvvveeee searches for the _n-th coordinate pair
- beginning at _d_a_t_a__a_r_r_a_y + _n * _b_y_t_e__s_i_z_e.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Use ppppwwwwllllccccuuuurrrrvvvveeee to describe a piecewise linear curve. A piecewise linear
- curve consists of a list of pairs of coordinates of points in the
- parameter space for the NURBS surface. These points are connected
- together with straight lines to form a path. If a piecewise linear curve
- is an approximation to a real curve, the points should be close enough
- together that the resulting path will appear curved at the resolution
- used in the application.
-
- You use piecewise linear curves within trimming loop definitions. A
- trimming loop definition is a set of oriented curve commands that
- describe a closed loop. To mark the beginning of a trimming loop
- definition, use the bbbbggggnnnnttttrrrriiiimmmm command. To mark the end of a trimming loop
- definition, use an eeeennnnddddttttrrrriiiimmmm command.
-
- You use trimming loop definitions within NURBS surface definitions (see
- bbbbggggnnnnssssuuuurrrrffffaaaacccceeee). The trimming loops are closed curves that the system uses to
- set the boundaries of a NURBS surface. You can describe a trimming loop
- by using a series of piecewise linear curves or NURBS curves (see
- nnnnuuuurrrrbbbbssssccccuuuurrrrvvvveeee), or both.
-
- When the system needs to decide which part of a NURBS surface you want it
- to display, it displays the region of the NURBS surface that is to the
- left of the trimming curves as the parameter increases. Thus, for a
- counter-clockwise oriented trimming curve, the displayed region of the
- NURBS surface is the region inside the curve. For a clockwise oriented
- trimming curve, the displayed region of the NURBS surface is the region
- outside the curve.
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ppppwwwwllllccccuuuurrrrvvvveeee((((3333GGGG)))) ppppwwwwllllccccuuuurrrrvvvveeee((((3333GGGG))))
-
-
-
- See the _G_r_a_p_h_i_c_s _L_i_b_r_a_r_y _P_r_o_g_r_a_m_m_i_n_g _G_u_i_d_e for a mathematical description
- of a NURBS curve.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- bgnsurface, nurbssurface, bgntrim, nurbscurve, getnurbsproperty,
- setnurbsproperty
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-